package com.hwl.trade.feign;

import com.hwl.servicebase.dto.MemberDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-ucenter", fallback = CenterMemberServiceImpl.class)
public interface CenterMemberService {

    @GetMapping("/api/ucenter/inner/getMemberDtoById/{memberId}")
    MemberDto getMemberDtoById(@PathVariable("memberId") String memberId);
}
